import time, datetime

def getFormatTime(format):
    ''''''
    _datetime = datetime.datetime.now().strftime(format)
    return _datetime